import type { BaseResource, ListResponse } from "./types";

export type NodeMetricList = ListResponse<NodeMetric>;
export type NodeMetric = BaseResource & {
  window?: string; // 11.1s
  timestamp?: string;
  usage?: MetricUsage;
};

export type MetricUsage = {
  cpu?: string;
  memory?: string;
};
